package com.zg.autoflow.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

//流程标识信息 各个地方的流程都通过这个信息进行传递查询
@ApiModel(value = "流程基本信息", description = "流程基本信息")
@Data
public class WorkflowFlagMakePdfReq {

    public WorkflowFlagMakePdfReq() {

    }

    public WorkflowFlagMakePdfReq(String FlowInsCode, String StepInsCode) {
        this.FlowInsCode = FlowInsCode;
        this.StepInsCode = StepInsCode;
    }

    public WorkflowFlagMakePdfReq(String FlowInsCode, String StepInsCode, String upStepCode, Boolean marketConfineByClient) {
        this.FlowInsCode = FlowInsCode;
        this.StepInsCode = StepInsCode;
        this.upStepCode = upStepCode;
        this.marketConfineByClient = marketConfineByClient;
    }

    public WorkflowFlagMakePdfReq(String FlowInsCode, String StepInsCode, Boolean isSelfNext) {
        this.FlowInsCode = FlowInsCode;
        this.StepInsCode = StepInsCode;
        this.isSelfNext = isSelfNext;
    }
    @ApiModelProperty(value = "流程实例编码")
    public String FlowInsCode;   //流程实例编码
    @ApiModelProperty(value = "环节实例编码")
    public String StepInsCode;  //环节实例编码
    @ApiModelProperty(value = "环节code")
    public String upStepCode;
    @ApiModelProperty(value = "下一步是不是还是自己")
    public Boolean isSelfNext; //下一步是不是还是自己
    @ApiModelProperty(value = "生成请求端")
    public Boolean marketConfineByClient;
    @ApiModelProperty(value = "绑定环节实例")
    public List<String> BindStepInsCodes; //绑定环节实例
}
